 BIN=blockqueue
 
 SRC=$(wildcard *.cc)
 OBj=$(SRC:.cc=.o)

$(BIN):$(OBj)
	g++ -o $@ $^ -std=c++11 -lpthread
%.o:%.cc
	g++ -c $< -std=c++11

.PHONY:clean
clean:
	rm -rf $(BIN)